

public abstract class AbstractPackage {
    //每月资费
    protected double monthlyCharges;
    //获取每月资费
    public abstract double calMonthlyCharges();

    protected AbstractPackage() {
    }

    protected AbstractPackage(double monthlyCharges) {
        this.monthlyCharges = monthlyCharges;
    }
}
